package config

type Config struct {
	Mysql string `yaml:"mysql"`
	Port  string `yaml:"port"`

	JWT struct {
		Signed string `yaml:"signed"`
		TTL    int64  `yaml:"ttl"`
	} `yaml:"jwt"`

	Redis struct {
		Addr     string `yaml:"addr"`
		Password string `yaml:"password"`
		DB       int    `yaml:"db"`
	} `yaml:"redis"`

	Log struct {
		Level string `yaml:"level"`
	} `yaml:"log"`
}
